Total Complexity | 54 |
Dependencies | 6 |
Dependents | 2 |
Total lines | 533 |
Lines of code | 184 |
Logical lines of code | 78 |
Comment lines | 259 |
Methods | 34 |
Properties | 14 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
from_json() | 43 | 15 | 46 | |
get_json() | 55 | 3 | 19 | |
get_tax_amount() | 62 | 3 | 13 | |
set_unit_price() | 78 | 2 | 3 | |
get_meta() | 71 | 2 | 6 | |
__toString() | 62 | 1 | 12 | |
set_sku() | 81 | 1 | 3 | |
set_product_url() | 81 | 1 | 3 | |
set_id() | 81 | 1 | 3 | |
get_type() | 82 | 1 | 3 | |
delete_meta() | 80 | 1 | 3 | |
set_meta() | 80 | 1 | 3 | |
set_type() | 81 | 1 | 3 | |
set_payment() | 81 | 1 | 3 | |
get_payment() | 82 | 1 | 3 | |
set_product_category() | 81 | 1 | 3 | |
get_product_category() | 82 | 1 | 3 | |
set_image_url() | 81 | 1 | 3 | |
get_image_url() | 82 | 1 | 3 | |
get_product_url() | 82 | 1 | 3 | |
get_name() | 82 | 1 | 3 | |
set_total_amount() | 81 | 1 | 3 | |
get_total_amount() | 82 | 1 | 3 | |
get_id() | 82 | 1 | 3 | |
set_discount_amount() | 81 | 1 | 3 | |
get_discount_amount() | 82 | 1 | 3 | |
get_sku() | 82 | 1 | 3 | |
get_unit_price() | 82 | 1 | 3 | |
set_quantity() | 81 | 1 | 3 | |
get_quantity() | 82 | 1 | 3 | |
set_description() | 81 | 1 | 3 | |
get_description() | 82 | 1 | 3 | |
set_name() | 81 | 1 | 3 | |
__construct() | 76 | 1 | 4 |